package edu.njust.Service.bill.impl;

import edu.njust.Service.bill.BillService;
import edu.njust.dao.BillMapper;
import edu.njust.domain.Bill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BillServiceImpl implements BillService {
    @Autowired
    private BillMapper billMapper;

    @Override
    public boolean insertBill(Bill bill) {
        return billMapper.insertBill(bill)>0;
    }
}
